<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>增加页面</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../component/elementUI/index.css">
  <link rel="stylesheet" href="../../../style/index.css">
  <link rel="stylesheet" href="../../../component/pear/css/pear.css" />
</head>

<body>
  <div id="app" class="minWidth">
    <el-form :model="form" :rules="rules" ref="contract" inline-message="true" style="width: 100%">
      <div class="table_titel">
        <div class="titel">增加页面</div>
      </div>
      <el-descriptions :column="2" border size="small">
        <el-descriptions-item label="页面名称">
          <el-form-item prop="Page_Name">
            <el-input v-model.trim="form.Page_Name" placeholder="请输入页面名称"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="所属方案">
          <el-form-item prop="Page_Group_SerialNumber">
            <el-select style="width: 100%;" placeholder="请选择方案" @change="handleChange" clearable filterable v-model.trim="form.Page_Group_SerialNumber">
              <el-option v-for="item in Group" :key="item.Page_Group_SerialNumber" :label="item.Page_Group_Name" :value="item.Page_Group_SerialNumber"></el-option>
            </el-select>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="页面类型">
          <el-form-item prop="Page_Type_SerialNumber">
            <el-select style="width: 100%;" placeholder="请选择页面类型" clearable filterable v-model.trim="form.Page_Type_SerialNumber">
              <el-option v-for="item in Type" :key="item.Page_Type_SerialNumber" :label="item.Page_Type_Name" :value="item.Page_Type_SerialNumber"></el-option>
            </el-select>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="生效时间">
          <el-form-item prop="Start_Date">
            <el-date-picker v-model.trim="form.Start_Date" type="date" placeholder="请选择生效时间"
              value-format="yyyy-MM-dd"></el-date-picker>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="过期时间">
          <el-form-item prop="End_Date">
            <el-date-picker v-model.trim="form.End_Date" type="date" placeholder="请选择过期时间"
              value-format="yyyy-MM-dd"></el-date-picker>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>
      <el-form-item class="form-operation">
        <el-button @click="window.history.back()">返回</el-button>
        <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
      </el-form-item>
    </el-form>
  </div>
  <script type="text/javascript" src="../../../utils/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="../../../utils/jquery.cookie.js"></script>
  <script type="text/javascript" src="../../../utils/vue.min.js"></script>
  <script type="text/javascript" src="../../../elementUI/index.js"></script>
  <script type="text/javascript" src="../../../utils/utils.js"></script>
  <script type="text/javascript" src="../../../utils/ID_Validity.js"></script>
  <script type="text/javascript" src="./js/Edit.js"></script>
</body>

</html>